package com.chazz.wrapper;

import com.chazz.utils.Tools;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRequestWrapper;

public class BlogServletRequestWrapper extends HttpServletRequestWrapper {
    public BlogServletRequestWrapper(HttpServletRequest request) {
        super(request);
    }

    @Override
    public String getParameter(String name) {
        return Tools.escape(super.getParameter(name));
    }
}
